package com.eastcode.dictionary.entity;

import java.util.Date;

import javax.persistence.Id;

import com.googlecode.objectify.annotation.Cached;

/**
 * 数据字典类
 * 
 * @author 王一进
 * 
 */
@Cached
public class Dictionary {

	/** 主键 **/
	@Id
	private Long id;

	/** 编码 **/
	private String code;

	/** 字典名称 **/
	private String name;

	/** 状态 **/
	private String state;

	/** 创建时间 **/
	private Date createTime;

	/** 更新时间 **/
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

}